package com.zs.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
//@Component//自定义注解加上component注解也是可以被spring加载的
public @interface MyServer {
    String value() default "";
}
